package com.cskaoyan.catmall.service;

import com.cskaoyan.catmall.model.vo.RoleOptionsVo;

import com.cskaoyan.catmall.model.bo.PermissionBo;
import com.cskaoyan.catmall.model.bo.RoleBo;
import com.cskaoyan.catmall.model.vo.PermissionInfoVo;
import com.cskaoyan.catmall.model.vo.RoleVo;

import java.util.List;
public interface RoleService {
    public RoleOptionsVo getAllRole();




/**
 * @Author: 逍遥子
 * @Date: 2022/01/08/19:32
 * @Description:
 */
    RoleVo selectRole(RoleBo roleBo);
    int insertRole(RoleBo roleBo);
    int deleteRole(RoleBo roleBo);
    int updatePermission(PermissionBo permissionBo);
    PermissionInfoVo selectPermission(Integer id);
    int updateRoleInfo(RoleBo roleBo);

}
